package app.dao;

import java.util.ArrayList;
import java.util.List;

import app.domain.Worker;

public interface WorkerDao {

	public void singleImport(Worker work);

	public List<Worker> findAllWork();

	public void batchImport(ArrayList<Worker> works);

	public Worker getById(int id);

	public void updateWorkById(Worker work);

	public void deleteWorkById(Integer id);

	public String findNameByOrderId(Integer orderId);

}
